package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasSupplDao;
import com.efast.dmom.mgmt.entity.master.TmBasSuppl;
import com.efast.dmom.mgmt.service.master.TmBasSupplService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasSupplServiceImpl implements TmBasSupplService{
    @Autowired
    private TmBasSupplDao tmBasSupplDao;
    @Override
    public long getTmBasSupplRowCount(Assist assist){
        return tmBasSupplDao.getTmBasSupplRowCount(assist);
    }
    @Override
    public List<TmBasSuppl> selectTmBasSuppl(Assist assist){
        return tmBasSupplDao.selectTmBasSuppl(assist);
    }
    @Override
    public TmBasSuppl selectTmBasSupplByObj(TmBasSuppl obj){
        return tmBasSupplDao.selectTmBasSupplByObj(obj);
    }
    @Override
    public TmBasSuppl selectTmBasSupplById(Integer id){
        return tmBasSupplDao.selectTmBasSupplById(id);
    }
    @Override
    public int insertTmBasSuppl(TmBasSuppl value){
        return tmBasSupplDao.insertTmBasSuppl(value);
    }
    @Override
    public int insertNonEmptyTmBasSuppl(TmBasSuppl value){
        return tmBasSupplDao.insertNonEmptyTmBasSuppl(value);
    }
    @Override
    public int insertTmBasSupplByBatch(List<TmBasSuppl> value){
        return tmBasSupplDao.insertTmBasSupplByBatch(value);
    }
    @Override
    public int deleteTmBasSupplById(Integer id){
        return tmBasSupplDao.deleteTmBasSupplById(id);
    }
    @Override
    public int deleteTmBasSuppl(Assist assist){
        return tmBasSupplDao.deleteTmBasSuppl(assist);
    }
    @Override
    public int updateTmBasSupplById(TmBasSuppl enti){
        return tmBasSupplDao.updateTmBasSupplById(enti);
    }
    @Override
    public int updateTmBasSuppl(TmBasSuppl value, Assist assist){
        return tmBasSupplDao.updateTmBasSuppl(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasSupplById(TmBasSuppl enti){
        return tmBasSupplDao.updateNonEmptyTmBasSupplById(enti);
    }
    @Override
    public int updateNonEmptyTmBasSuppl(TmBasSuppl value, Assist assist){
        return tmBasSupplDao.updateNonEmptyTmBasSuppl(value,assist);
    }

    public TmBasSupplDao getTmBasSupplDao() {
        return this.tmBasSupplDao;
    }

    public void setTmBasSupplDao(TmBasSupplDao tmBasSupplDao) {
        this.tmBasSupplDao = tmBasSupplDao;
    }

}